<?php
slot( 'menu', get_partial('project/menu', array('menu' => $menu )));
slot( 'submenu', get_partial('project/submenu', array('menu' => $menu->getSubmenu() )));


$sidebar = '
  <div id="hotproject">
    <script language="javascript" type="text/javascript">$().ready(function(){ $("#hotproject").load("'.url_for('@widget?module=widget&action=hotproject').'"); });</script>
  </div>
  <div id="newproject">
    <script language="javascript" type="text/javascript">$().ready(function(){ $("#newproject").load("'.url_for('@widget?module=widget&action=newproject').'"); });</script>
  </div>    
';
slot( 'sidebar', $sidebar)
  
?>